<include file="common/hearder"/>

<div class="page-header">
<div class="pull-left">
    <h4>添加审批类型\Add reward and punishment system</h4>
</div>
</div>
<div class="clearfix"></div>
<div class="col-lg-12">
    <form action="{:U('add')}" method="post">
        <div class="form-group">
            <label for="atrnmae">名称</label>
            <input type="text" class="form-control" id="atrnmae" name="atrnmae" value="{$info.atrnmae}" >
        </div>
        <div class="form-group">
            <label>状态</label>
            <div class="form-group">
                <label class="col-xs-1">
                    <input type="radio" name="states" value="1" {$info['status'] == 1 ? 'checked' : ''}> 启用
                </label>
                <label class="col-xs-1">
                    <input type="radio" name="states" value="0" {$info['status'] == 0 ? 'checked' : ''}> 未启用
                </label>
            </div>
        </div>
        <div class="form-group">
            <input type="hidden" name="atrid" value="{$info.atrid}">
            <input type="hidden" name="submit" value="1">
            <button type="submit" class="button"><span class="glyphicon glyphicon-plus">添加</span></button>
        </div>
    </form>
</div>
<include file="common/footer"/>